package net.xumf.support.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Setter
@Getter
@ApiModel(description = "报表定时器模型")
public class QuartzReportDTO extends QuartzEmailDTO {

    // 报表id
    @NotNull(message = "报表不能为空")
    @ApiModelProperty(value = "报表id")
    private Integer rId;
    // 报表名称
    @NotBlank(message = "报表不能为空")
    @ApiModelProperty(value = "报表名称")
    private String reportName;

}
